
package de.uni.wuppertal.server.ftp;

/**
 * @author Martin Schröder
 * @author Patrik Nordsiek
 */
public class FTPServerException extends RuntimeException
{
	private static final long serialVersionUID = 1;
	
	private int status = 451;
	
	public FTPServerException()
	{
		super();
	}
	
	public FTPServerException(int status)
	{
		super();
		
		this.status = status;
	}
	
	public FTPServerException(String message, int status)
	{
		super(message);
		
		this.status = status;
	}
	
	public FTPServerException(String message, Throwable cause)
	{
		super(message, cause);
	}
	
	public FTPServerException(String message)
	{
		super(message);
	}
	
	public FTPServerException(Throwable cause)
	{
		super(cause);
	}
	
	public int getStatus()
	{
		return status;
	}
}
